﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using cSharpStudents415.Data.Models;

namespace cSharpStudents415.Data
{
    public class StudentsDbContext : DbContext
    {
        public StudentsDbContext():base("Students415Connection")
        {

        }
        public DbSet<Alumni> Alumni { get; set; }
        public DbSet<Course> Courses { get; set; }

        public DbSet<Blog> Blogs{ get; set; }
        public DbSet<Article> Articles { get; set; }


      //  public static StudentsDbContext Create()
       // {
        //    return new StudentsDbContext();
      //  }
    }
}
